package frame;


import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;

import Client.MyClient;

import java.awt.BorderLayout;
import java.awt.Color;

import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class myFrame extends JFrame {
	private JPanel contentPane;
	//private MyClient mClient = null;
	//private JButton btnNewButton;
	/**
	 * Create the frame.
	 */
	public myFrame() {
		//this.mClient=myClient;
		setBackground(Color.WHITE);
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setResizable(false);
		setBounds(100, 100, 1240, 1000);
		this.setLocationRelativeTo(null);
//		contentPane = new JPanel();
//		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
//		setContentPane(contentPane);
//		contentPane.setLayout(null);
//		btnNewButton = new JButton("开始匹配");
//		btnNewButton.addActionListener(new ActionListener() {
//			public void actionPerformed(ActionEvent e) {
//				myClient.Match();
//				btnNewButton.setEnabled(false);
//			}
//		});
//		btnNewButton.setBounds(538, 439, 231, 110);
//		contentPane.add(btnNewButton,BorderLayout.CENTER);
	}
		
}
